<template>
	<view class="pollutionabatementdetail">
		<titleName :name="name"></titleName>
		<view class="title-bgc"></view>
		<view class="content-wrap">
			<view class="enterprise">
				<image src="https://splendid.oss-cn-beijing.aliyuncs.com/static/imghazardouswaste/qiyexinxi.png"
					mode=""></image>
				<view class="name">{{msg.enterprisename}}</view>
			</view>

			<view class="name-phone">
				<view class="name">
					<image src="https://splendid.oss-cn-beijing.aliyuncs.com/static/imghazardouswaste/user.png" mode="">
					</image>
					<view class="name">联系人：{{msg.contactperson}}</view>
				</view>
				<view class="phone">
					<image src="../../static/jiance-phone.png" mode=""></image>
					<view class="name">联系电话：{{msg.mobile}}</view>
				</view>

			</view>
			<view class="enterprise-qualification">
				<view class="title">
					<view class="line"></view>
					<text>企业资质</text>
				</view>
				<view class="img-wrap">
					<image
						:src="msg.creditimageurl"
						mode=""></image>
				</view>
			</view>
			<view class="business-scope">
				<view class="title">
					<view class="line"></view>
					<text>经营范围</text>
				</view>
				<view class="msg" style="line-height: 50rpx;">{{msg.businessscope}}
				</view>
			</view>

			<view class="abide-law">
				<view class="title">
					<view class="line"></view>
					<text>守法证明</text>
				</view>
				<view class="img-wrap">
					<image
						:src="msg.lawimageurl"
						mode=""></image>
				</view>
			</view>
		</view>





	</view>
</template>

<script setup>
	import titleName from '../../components/titleName.vue'
	import {onLoad} from '@dcloudio/uni-app'
	import {
		ref
	} from 'vue'
	let name = "污染治理"
	let seltop = ref(1)
	let msg = ref({})
	onLoad((e)=>{
		console.log(e,'e');
		msg.value = JSON.parse(e.item)
	})
</script>

<style lang="scss" scoped>
	.pollutionabatementdetail {
		width: 100vw;
		height: 100vh;
		padding-top: 160rpx;


		.title-bgc {
			background: #0874FA;
			height: 160rpx;
			width: 100vw;
			position: fixed;
			top: 0;
			left: 0;
			z-index: 9;
		}

		.content-wrap {

			background-color: #F3F5F7;
			padding-top: 16rpx;

			.abide-law {
				width: 750rpx;

				background-color: #fff;
				margin-top: 15rpx;
				padding-top: 36rpx;
				padding-bottom: 40rpx;

				.title {
					display: flex;
					align-items: center;
					margin-bottom: 30rpx;

					.line {
						width: 8rpx;
						height: 28rpx;
						background: #0874FA;
						border-radius: 4rpx;
						margin-left: 30rpx;
					}

					text {

						font-weight: bold;
						font-size: 35rpx;
						color: #000000;
						margin-left: 23rpx;

					}
				}

				.img-wrap {
					display: flex;
					justify-content: center;
				}
			}

			.business-scope {
				width: 750rpx;

				background-color: #fff;
				margin-top: 15rpx;
				padding-top: 36rpx;
				padding-bottom: 40rpx;

				.msg {

					font-weight: 400;
					font-size: 29rpx;
					color: #333333;
					padding: 0 27rpx 0 31rpx;
				}

				.title {
					display: flex;
					align-items: center;
					margin-bottom: 30rpx;

					.line {
						width: 8rpx;
						height: 28rpx;
						background: #0874FA;
						border-radius: 4rpx;
						margin-left: 30rpx;
					}

					text {

						font-weight: bold;
						font-size: 35rpx;
						color: #000000;
						margin-left: 23rpx;

					}
				}
			}

			.enterprise-qualification {
				width: 750rpx;
				height: 617rpx;
				background-color: #fff;
				margin-top: 15rpx;
				padding-top: 36rpx;

				.title {
					display: flex;
					align-items: center;
					margin-bottom: 30rpx;

					.line {
						width: 8rpx;
						height: 28rpx;
						background: #0874FA;
						border-radius: 4rpx;
						margin-left: 30rpx;
					}

					text {

						font-weight: bold;
						font-size: 35rpx;
						color: #000000;
						margin-left: 23rpx;

					}
				}

				.img-wrap {
					display: flex;
					justify-content: center;

					image {
						width: 669rpx;
						height: 483rpx;

					}
				}
			}

			.name-phone {

				margin-top: 13rpx;
				font-weight: 500;
				font-size: 31rpx;
				color: #333333;
				background-color: #fff;
				padding: 33rpx 0 40rpx;
				flex-direction: column;
				justify-content: space-between;
				height: 183rpx;

				.name {
					padding-left: 55rpx;
					display: flex;
					align-items: center;

					image {
						width: 38rpx;
						height: 38rpx;
						margin-right: 20rpx;
					}

				}

				.phone {

					margin-top: 27rpx;
					padding-left: 51rpx;

					display: flex;
					align-items: center;


					image {
						width: 45rpx;
						height: 45rpx;
						margin-right: 17rpx;
					}

					.name {}
				}



			}

			.enterprise {

				display: flex;
				padding-left: 20rpx;
				align-items: center;
				width: 100%;
				height: 146rpx;
				background: #FFFFFF;

				flex-shrink: 0;


				.name {
					flex-shrink: 0;
					font-weight: 500;
					font-size: 35rpx;
					color: #333333;

				}

				image {
					width: 104rpx;
					height: 104rpx;
					margin-right: 16rpx;
				}
			}
		}






	}
</style>